//
//  Dimensions.swift
//  DesignKit
//
//  Created by x on 2024/2/29.
//

import Foundation

public protocol DesignWarapper {
    associatedtype T
    var designKit: T {get}
    static var DesignKit: T.Type {get}
}

public struct Wrapper<Base> {
    public let base: Base
    init(_ base: Base) {
        self.base = base
    }
}

public extension DesignWarapper {
    
    var designKit: Wrapper<Self> {
        get { Wrapper(self) }
        set {}
    }
    
    static var DesignKit: Wrapper<Self>.Type {
        get { Wrapper<Self>.self }
        set {}
    }
    
}

